#ifndef _APP_LIS2DH12_H_
#define _APP_LIS2DH12_H_
#include "lis2dh12.h"

typedef enum {
    APP_LIS2DH12_OK = 0x00,
    APP_LIS2DH12_ERROR 
}APP_LIS2DH12_StatusTypeDef;

/*public function***********************************************************/
APP_LIS2DH12_StatusTypeDef app_lis2dh12_init(void);
APP_LIS2DH12_StatusTypeDef app_lis2dh12_get_3_axis_value(float* data);
APP_LIS2DH12_StatusTypeDef app_lis2dh12_powerdown(void);
APP_LIS2DH12_StatusTypeDef app_lis2dh12_check_id(void);
#endif //_APP_LIS2DH12_H_
